QT       += core gui

message(BOOST_ROOT= $$BOOST_ROOT)

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = sign_scanner
TEMPLATE = app

MOC_DIR = moc
UI_DIR = ui

DEFINES += BOOST_TT_HAS_OPERATOR_HPP_INCLUDED

SOURCES += main.cpp\
    SearchController/SearchTask.cpp \
    SearchController/SearchControllerThread.cpp \
    SearchController/SearchController.cpp \
    ServiceConnector.cpp \
    Config/Config.cpp \
    ProgressDialog.cpp \
    MainDialog.cpp \
    DialogInput.cpp

HEADERS  += \
    SearchController/SearchTask.h \
    SearchController/SearchControllerThread.h \
    SearchController/ISearchControllerThreadCallback.h \
    SearchController/SearchController.h \
    SearchController/SearchType.h \
    ServiceConnector.h \
    Core/Message.h \
    Config/IConfig.h \
    Config/Config.h \
    ProgressDialog.h \
    MainDialog.h \
    DialogInput.h

INCLUDEPATH += \
    $$BOOST_ROOT \
    ../contrib \
    ../

LIBS += -L"../../lib" \
    -L"$$BOOST_ROOT/stage/lib" \
    -lCore \
    -lCommon \
    -lBoxApiLib \
    -lboost_system \
    -lprotobuf \
    -lboost_thread

FORMS    += \
    sign_scan_state.ui \
    sign_scan_select.ui \
    DialogInput.ui

RESOURCES += \
    resource.qrc
